package com.example.shopping_web_back.pojo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

//本文件主要是定义每一个用户购物车的信息
@Data
public class ShoppingCar {
    @NotNull
    private String customerName;
    @NotNull
    private String businessName;
    @NotNull
    private String goodsName;
    @NotNull
    private Integer goodsNum;
    @NotNull
    private Boolean isPurchase;
    @NotNull
    private String image;
    @NotNull
    private Double price;
}
